﻿using System;
using System.Runtime.Serialization;
using Sharp.Infrastructure.Interfaces;

namespace Sharp.DataTransferObject
{
    /// <summary>
    /// 主数据
    /// </summary>
    public class MasterDataSimpleDTO : IDTO, ITreeEntity2
    {
        public string ParentCode
        {
            get;
            set;
        }
        /// <summary>
        /// 主键
        /// </summary>
        public Guid Id { get; set; }

        public string Code { get; set; }

        public string Name { get; set; }
        
        public int OrderIndex { get; set; }
        /// <summary>
        /// 分类
        /// </summary>
        public string Category { get; set; }
    }
}
